DISCUSSION
The
ATSUCopyLayoutControls function copies all the text layout attribute values in a text layout object. This includes previously set attributes as well as unset ones, which ATSUI sets to the default values listed in
Table C-2. If you wish to copy the text layout attribute values of a single line in a text layout object, see the function
ATSUCopyLineControls.
ATSUCopyLayoutControls does not copy the contents of memory referenced by pointers or handles within reference constants. You are responsible for ensuring that this memory remains valid until the source text layout object is disposed of.